
package edu.tongji.jiaowu.service.impl;
 
import java.util.List;
import com.tongji.quickCRUDQ.service.impl.BaseManagerImpl;
import edu.tongji.jiaowu.dao.PlanPracticeDao;
import edu.tongji.jiaowu.service.PlanPracticeManager;
import com.tongji.quickCRUDQ.model.CommonBean;

public class PlanPracticeManagerImpl extends BaseManagerImpl implements PlanPracticeManager {
        private PlanPracticeDao planPracticeDao;

	
	public CommonBean createPlanPractice(){
                return planPracticeDao.createPlanPractice();		
	}
	
/*
	public CommonBean findPlanPractices(String refid) {
                return planPracticeDao.findPlanPractices(refid);
       }
*/
	public CommonBean findPlanPracticeById(String id){
                return planPracticeDao.findPlanPracticeById(id);
       }	
	public CommonBean findAllPlanPractices() {
                return planPracticeDao.findAllPlanPractices();
       }
	public void insertPlanPractice(CommonBean planPracticeBean){
               planPracticeDao.insertPlanPractice(planPracticeBean);
	}
	public void updatePlanPractice(CommonBean planPracticeBean){
               planPracticeDao.updatePlanPractice(planPracticeBean);
	}
	
	public PlanPracticeDao getPlanPracticeDao(){
		return planPracticeDao;
        }	
        
  public void setPlanPracticeDao(PlanPracticeDao planPracticeDao){
          this.planPracticeDao=planPracticeDao;	
  }        		
}

